package com.wzu.service;

import com.wzu.dao.BorrowRecordDao;
import com.wzu.dao.BorrowRecordDaoImpl;
import com.wzu.pojo.BorrowRecord;

import java.util.List;

public class BorrowRecordServiceImpl implements BorrowRecordService {
    private BorrowRecordDao borrowRecordDao = new BorrowRecordDaoImpl();

    @Override
    public List<BorrowRecord> getAllBorrowRecords() {
        return borrowRecordDao.getAllBorrowRecords();
    }
}